xml = Builder::XmlMarkup.new
xml.graph(:caption=>'test results', :subCaption=>'ByQuantity', :pieSliceDepth=>'30',:showNames=>'1', 
    :decimalPrecision=>'0', :formatNumberScale=>'0', :numberSuffix=>'分') do
	for r in results
		xml.set(:name => r[0],:value => r[1])
	end
end
